package com.scm.persist.mybatis;

import com.scm.persist.model.ScmSupplyQuotation;
import com.scm.persist.model.ScmSupplyQuotationExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface ScmSupplyQuotationMapper {
    int countByExample(ScmSupplyQuotationExample example);

    int deleteByExample(ScmSupplyQuotationExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ScmSupplyQuotation record);

    int insertSelective(ScmSupplyQuotation record);

    List<ScmSupplyQuotation> selectByExampleWithRowbounds(ScmSupplyQuotationExample example, RowBounds rowBounds);

    List<ScmSupplyQuotation> selectByExample(ScmSupplyQuotationExample example);

    ScmSupplyQuotation selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ScmSupplyQuotation record, @Param("example") ScmSupplyQuotationExample example);

    int updateByExample(@Param("record") ScmSupplyQuotation record, @Param("example") ScmSupplyQuotationExample example);

    int updateByPrimaryKeySelective(ScmSupplyQuotation record);

    int updateByPrimaryKey(ScmSupplyQuotation record);
}
